package system.service.sys;

import framework.base.BaseService;
import system.entity.SysRoleUser;

import java.util.List;

public interface SysRoleUserService extends BaseService<SysRoleUser, Integer> {
    /**
     * 设置用户角色
     *
     * @param userId
     * @param roleIds
     * @return
     */
    int setUserRoles(Long userId, List<Integer> roleIds);

}